package com.beadwallet.alarm.entity.msgInfo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 短信记录表
 * </p>
 *
 * @author master
 * @since 2018-01-24
 */
@TableName("msgsend_info")
public class MsgsendInfo extends Model<MsgsendInfo> implements Serializable{

    private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@JSONField(serialize = false)
	@TableId(value="ID")
	private Integer id;
	/**
	 * 创建用户名
	 */
	@JSONField(serialize = false)
	@TableField(value="CREATE_USERNAME")
	private String createUsername;
	/**
	 * 创建时间
	 */
	@TableField(value="CREATE_TIME")
	private Date createTime;
	/**
	 * 更新用户名
	 */
	@JSONField(serialize = false)
	@TableField(value="UPDATE_USERNAME")
	private String updateUsername;
	/**
	 * 更新时间
	 */
	@JSONField(serialize = false)
	@TableField(value="UPDATE_TIME")
	private Date updateTime;
	/**
	 * 调用方
	 */
	@JSONField(serialize = false)
	@TableField(value="CALLING_PARTY")
	private String callingParty;
	/**
	 * 手机号码
	 */
	@JSONField(serialize = false)
	@TableField(value="MOBILE")
	private String mobile;
	/**
	 * 短信类型
	 */
	@JSONField(serialize = false)
	@TableField(value="TYPE")
	private String type;
	/**
	 * 发送内容
	 */
	@TableField(value="CONTENT")
	private String content;
	/**
	 * 发送状态：是否成功
	 */
	@JSONField(serialize = false)
	@TableField(value="STATUS")
	private String status;
	/**
	 * 发送的数据
	 */
	@JSONField(serialize = false)
	@TableField(value="SEND_DATA")
	private String sendData;
	/**
	 * 是否同步 0-没发送过，1-发送过
	 */
	@JSONField(serialize = false)
	@TableField(value="SYNCHRONIZATION")
	private Integer synchronization;
	/**
	 * 机构（水象云贷/我享借）
	 */
	@JSONField(serialize = false)
	@TableField(value="INSTITUTION")
	private String institution;
	/**
	 * 渠道
	 */
	@JSONField(serialize = false)
	@TableField(value="CHANNEL")
	private String channel;
	/**
	 * 短信模板Id
	 */
	@JSONField(serialize = false)
	@TableField(value="TEMPLATEID")
	private String templateid;
	/**
	 * 短信标题
	 */
	@JSONField(serialize = false)
	@TableField(value="TITLE")
	private String title;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCreateUsername() {
		return createUsername;
	}

	public void setCreateUsername(String createUsername) {
		this.createUsername = createUsername;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateUsername() {
		return updateUsername;
	}

	public void setUpdateUsername(String updateUsername) {
		this.updateUsername = updateUsername;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCallingParty() {
		return callingParty;
	}

	public void setCallingParty(String callingParty) {
		this.callingParty = callingParty;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSendData() {
		return sendData;
	}

	public void setSendData(String sendData) {
		this.sendData = sendData;
	}

	public Integer getSynchronization() {
		return synchronization;
	}

	public void setSynchronization(Integer synchronization) {
		this.synchronization = synchronization;
	}

	public String getInstitution() {
		return institution;
	}

	public void setInstitution(String institution) {
		this.institution = institution;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getTemplateid() {
		return templateid;
	}

	public void setTemplateid(String templateid) {
		this.templateid = templateid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
